package com.miplus.ccrm.core.service.conf;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.miplus.ccrm.common.CmdResVo;
import com.miplus.ccrm.core.controller.vo.LabelResVo;
import com.miplus.ccrm.core.controller.vo.conf.*;
import com.miplus.ccrm.core.pojo.WfWorkflow;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author pc
* @description 针对表【wf_workflow】的数据库操作Service
* @createDate 2024-03-09 16:10:26
*/
public interface WfWorkflowService extends IService<WfWorkflow> {
    IPage<WfResVo> workFlowList(WfReqVo paras);

    List<LabelResVo> getWorkFlowList();

    CmdResVo updateWorkFlow(String $usrid,WfEditReqVo paras);

    CmdResVo insertWorkFlow(String $usrid,WfEditReqVo paras);

    CmdResVo deleteWorkFlow(String id);

    List<LabelResVo> getNamesValuesByWfid(Integer wfid);
}
